<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>易烊千玺老公</title>
    <style>
        body {
            perspective: 1000px;
        }
        .photo {
            margin: 100px auto;
            position: relative;
            width: 400px;
            height: 300px;
            transform-style: preserve-3d;
            animation: rotate 6s linear infinite;
        }

        @keyframes rotate {
            0% {
                transform: rotateY(0);
            }
            100% {
                transform: rotateY(360deg);
            }
        }

        .photo div  {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transition: all 3s;
        }
        .photo div img {
            width: 400px;
            height: 300px;
        }

       .photo div:nth-child(1) {
            transform:rotateY(0deg) translateZ(300px) ;
        }

         .photo div:nth-child(2) {
            transform:rotateY(60deg) translateZ(300px) ;
        }

        .photo div:nth-child(3) {
            transform:rotateY(120deg) translateZ(300px) ;
        }

        .photo div:nth-child(4) {
            transform:rotateY(180deg) translateZ(300px) ;
        }

        .photo div:nth-child(5) {
            transform:rotateY(240deg) translateZ(300px) ;
        }

       .photo div:nth-child(6) {
            transform:rotateY(300deg) translateZ(300px) ;
        }


    </style>
</head>
<body>
<div class="photo">
    <div><img src="images/51ef901d0d9b4609be4952b12c08a498.jpeg" alt=""></div>
    <div><img src="images/t01cadbff2545795220.jpg" alt=""></div>
    <div><img src="images/t01d362c949ad9cb2f9.bmp" alt=""></div>
    <div><img src="images/t0173bcbe3c13ec42fc.jpg" alt=""></div>
    <div><img src="images/51ef901d0d9b4609be4952b12c08a498.jpeg" alt=""></div>
    <div><img src="images/t01cadbff2545795220.jpg" alt=""></div>

</div>
</body>
</html>